package pe.com.hermes.hermetic.errors;

import org.apache.commons.logging.Log;

import org.apache.commons.logging.LogFactory;

import org.springframework.validation.ObjectError;

public class ErrorFactory extends ObjectError{        
    Log logger = LogFactory.getLog(ErrorFactory.class);
    
    public ErrorFactory(String code){        
        super("",new String[]{code},new Object[]{},"");
    }
    public ErrorFactory(String code, Object[] object){
        super("",new String[]{code},object,"");
    }    
}
